<div class="jumbotron simple">
    <div class="container">
        <h1>Tài khoản <small>Quên mật khẩu</small></h1>
    </div>
</div>
<div id="container-main" class="container">
    <div class="row">
        <div class="col-md-18 col-sm-14">
            <div class="row">
                <div class="col-md-12 marginbottom30">
                    <div class="page-header">
                        <h3>
                            <i class="fa fa-retweet"></i> Tìm lại mật khẩu
                            <span class="page-header-under primary"></span>
                        </h3>
                    </div>
                    <?php $form=$this->beginWidget('CActiveForm', array(
                            'id'=>'forgot-form',
                            'enableClientValidation'=>true,
                            'clientOptions'=>array(
                                'validateOnSubmit' => true,
                                'validateOnChange' => true,
                            ),
                            'enableAjaxValidation'=>false,
                            'htmlOptions' => array('class' => 'form-horizontal')
                        )); ?>
                    <p class="text-small text-muted">Điền email hoặc SĐT của bạn để tiến hành lấy lại mật khẩu</p>
                    <div class="form-group">
                        <?php echo $form->labelEx($model,'username', array('class' => 'col-sm-8 control-label')); ?>
                        <div class="col-sm-16">
                            <?php echo $form->textField($model,'username',array('placeholder'=> $model->getAttributeLabel('username'),'maxlength'=>255, 'class' => 'form-control')); ?>
                            <?php echo $form->error($model,'username');?>
                        </div>
                    </div> 
                    <div class="form-group">
                        <?php echo $form->labelEx($model,'verifyCode', array('class' => 'col-sm-8 control-label')); ?>
                        <div class="col-sm-16">
                            <?php echo $form->textField($model,'verifyCode', array('class' => 'form-control')); ?>
                            <?php $this->widget('CCaptcha', Yii::app()->params->captcha['view']); ?>
                            <?php echo $form->error($model,'verifyCode');?>
                        </div>
                    </div> 
                    <div class="form-group">
                        <div class="col-sm-offset-8 col-sm-16">
                            <button class="btn btn-danger" type="submit">
                                <i class="fa fa-retweet"></i> Reset mật khẩu
                            </button>                               
                        </div>

                    </div>
                    <div class="form-group">
                        <div class="col-sm-offset-8 col-sm-16">
                            <a href="<?php echo $this->createUrl('/user/page/login')?>" class="decoration-none" rel="tooltip" data-placement="top" title="Đăng ký tài khoản mới">
                                <span class="label label-success"><i class="fa fa-sign-in"></i> Đăng nhập</span>
                            </a>
                            <a href="<?php echo $this->createUrl('/user/page/create')?>" class="decoration-none" rel="tooltip" data-placement="top" title="Đăng ký tài khoản mới">
                                <span class="label label-info"><i class="fa fa-pencil-square-o"></i> Đăng ký</span>
                            </a>
                        </div>
                    </div> 
                    <?php $this->endWidget(); ?>

                </div>
                <div class="col-md-12">
                    <?php $this->renderPartial('_openid_login');?>
                </div>
            </div>
            <hr class="visible-xs"/>
        </div>
        <div class="col-md-6 col-sm-10">
            <?php $this->renderPartial('_menu');?>
        </div>
    </div>
</div>





